class A:
    data = 'A'

class B(A):
    data = 'B'

class C(A):
    data = 'C'

class E(B):
    data = 'E'

class F(B, C):
    data = 'F'

class D(A):
    data = 'D'

class G(E, F, D):
    data = 'G'

i = G()
print(i.data)
